def props = new Properties()
def propFile = new File("E:\\syniverse_workspace\\awol.properties")
def fis = new FileInputStream(propFile)
props.load(fis)
props.put("AWOL_P2DIR", "AWOL_P2DIR")

props.each{p->
    def result = new AntBuilder().fileset( dir:'E:\\syniverse_workspace\\er_common\\trunk\\ER_COMMON1.00.00\\src', includes:'**/*.java' ) {
      contains text:p.key
    }*.file.name
    
    if(result.size() > 0){
        println "${p.key}:${result}"
    }
}

props.each{p->
    def result = new AntBuilder().fileset( dir:'E:\\syniverse_workspace\\er_etl\\trunk\\ER_ETL1.00.00\\src', includes:'**/*.java' ) {
      contains text:p.key
    }*.file.name
    
    if(result.size() > 0){
        println "${p.key}:${result}"
    }
}